import Layout from '@/layout/default.vue'
import { AuditOutlined } from '@ant-design/icons-vue'

export default [
    {
        path: '/riderManagement',
        name: 'RiderManagement',
        redirect: '/riderManagement/rider',
        component: Layout,
        meta: {
            navTitle: '骑手管理',
            order: 4,
            isSidebar: true,
            icon: () => h(AuditOutlined)
        },
        children: [
            {
                path: '/riderManagement/rider',
                meta: {
                    title: '骑手列表',
                    order: 401
                },
                component: () => import('@/view/riderManagement/rider/rider.vue')
            },
            {
                path: '/riderManagement/toExamine',
                meta: {
                    title: '骑手审核列表',
                    order: 402
                },
                component: () => import('@/view/riderManagement/toExamine/toExamine.vue')
            },
            {
                path: '/riderManagement/rider/add',
                meta: {
                    title: '新增骑手',
                },
                component: () => import('@/view/riderManagement/rider/addRider.vue')
            }
        ]

    }
]